package com.jiangzhe.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiangzhe.common.utils.PageUtils;
import com.jiangzhe.ware.entity.WareSkuEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 商品库存
 *
 * @author jzchvrches
 * @email jzchvrches@gmail.com
 * @date 2020-07-08 14:45:14
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //void addStock(@Param("skuId") Long skuId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum);

    void addStock(Long skuId, Long wareId, Integer skuNum);
}

